package edu.mju.route.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import edu.mju.route.dto.SearchRouteDto;
import edu.mju.route.entity.Route;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author CBL
 * @since 2020-12-30
 */
public interface RouteService extends IService<Route> {

    boolean deleteRoute(Integer id);

    Map<String, Object> getRouteList(IPage<Route> routePage,SearchRouteDto searchRouteDto);
}
